package org.jeecg.qis.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 来料检验单
 * @Author: LiCY
 * @Date:   2023-12-13
 * @Version: V1.0
 */
@Data
@TableName("qis_mathead_value")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="qis_mathead_value对象", description="来料检验单")
public class QisMatheadValue implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键ID*/
	@Excel(name = "主键ID", width = 15)
    @ApiModelProperty(value = "主键ID")
    @TableId
    private Integer recId;
	/**物料主表配置ID*/
	@Excel(name = "物料主表配置ID", width = 15)
    @ApiModelProperty(value = "物料主表配置ID")
    private Integer cfgid;
	/**送检单号*/
	@Excel(name = "送检单号", width = 15)
    @ApiModelProperty(value = "送检单号")
    private String checklistno;
	/**送检日期*/
	@Excel(name = "送检日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "送检日期")
    private Date checkdate;
	/**入库批次*/
	@Excel(name = "入库批次", width = 15)
    @ApiModelProperty(value = "入库批次")
    private String lotno;
	/**检测类型*/
	@Excel(name = "检测类型", width = 15)
    @ApiModelProperty(value = "检测类型")
    @Dict(dicCode = "math_checkTyp")
    private String checkTyp;
	/**当前检验次数*/
	@Excel(name = "当前检验次数", width = 15)
    @ApiModelProperty(value = "当前检验次数")
    private BigDecimal tn;
	/**报交数*/
	@Excel(name = "报交数", width = 15)
    @ApiModelProperty(value = "报交数")
    private BigDecimal qty;
	/**检验结果*/
	@Excel(name = "检验结果", width = 15)
    @ApiModelProperty(value = "检验结果")
    @Dict(dicCode = "math_result")
    private String result;
	/**供应商*/
	@Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商")
    private String vendor;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**操作者*/
	@Excel(name = "操作者", width = 15)
    @ApiModelProperty(value = "操作者")
    private String user;
	/**更新时间*/
	@Excel(name = "更新时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date ctime;
}
